﻿using MessageQuque.Business.Model;
using MessageQuque.Common.Base.Business;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MessageQuque.Business
{
    public class TestBusiness : BusinessBase<TestModel>
    {
        protected override void Process(TestModel model)
        {
            if (string.IsNullOrWhiteSpace(model.Message))
            {
                Console.WriteLine("\r\nWraning：当前消息为空");
                return;
            }

            Console.WriteLine("\r\nMessage：" + model.Message);
        }
    }
}
